﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HY.Entity
{
    public class MonitorData// : EntityBaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        [StringLength(20)]
        public string EquipmentCode { get; set; }
        /// <summary>
        /// 园区编号
        /// </summary>
        [StringLength(20)]
        public string ParkCode { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        [StringLength(20)]
        public string StorehouseCode { get; set; }
        /// <summary>
        /// 监控类型
        /// </summary>
        [StringLength(20)]
        public string MonitorType { get; set; }
        /// <summary>
        /// 数据值
        /// </summary>
        [StringLength(20)]
        public string MonitorValue { get; set; }
        /// <summary>
        /// 报警状态
        /// </summary>
        [StringLength(50)]
        public string AlarmStatus { get; set; }
        /// <summary>
        /// 处理状态（0：未处理；1：已处理）
        /// </summary>
        public int IsDeal { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; } = DateTime.Now;
    }
}
